<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>轮播示例</title>
    <!-- 
        关键点:
          父元素设为相对定位
          子元素为绝对定位
            子元素只能在父元素区域内变化
    -->
    <style>
        *{padding: 0;margin: 0;}
        div{
            width: 400px;
            height: 200px;
            position: relative;
        }
        img{
            width: 100%;
            height: 100%;
        }
        ul{
            list-style: none;
            position: absolute;
            bottom: 10px;
            right: 15px;
        }
        ul li{
            display: inline-block;
            width: 20px;
            height: 20px;
            background-color: blueviolet;
            text-align: center;
            line-height: 20px;
            color: white;
            font-size: 14px;
            border-radius: 50%;
        }
    </style>
</head>
<body>
    <div class="swiper-container">
        <img src="../img/33.jpg" alt="img">
        <ul>
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
            <li>5</li>
        </ul>
    </div>
</body>
</html>